<?php 
	$game = $this->game;
	$team1 = new Administration_Model_Teams($game->getIdTeamHome());
	$team2 = new Administration_Model_Teams($game->getIdTeamVisitor());
?>
<div class="border multiple maxsize">
	<div class="title"><?php echo __('Ehl-Wolves News');?></div>
	<div class="content">
		<div id="newsList">
			<?php foreach( $this->listNews as $news ) : ?>
			<div class="newsTitle">[<?php echo $news->getCreationDate(); ?>]<?php echo $news->getTitle();?> par <?php echo $news->getCreationUser()?></div>
			<div class="newsMessage"><?php echo $news->getMessage();?></div>
			<?php endforeach;?>
		</div>
	</div>
</div>
<div class="border decal multiple">
	<div class="title"><?php echo __('Game schedule');?></div>
	<div class="content">
		<div id="game">
			<div id="top">
				<div class="logo"><img src="<?php echo $team1->logoForScore(); ?>" height="<?php echo $team1->logoHeight();?>" alt="<?php echo $team1->getName()?>" border="0" /></div>
				<div class="date">date</div>
				<div class="logo"><img src="<?php echo $team2->logoForScore(); ?>" height="<?php echo $team2->logoHeight();?>" alt="<?php echo $team2->getName()?>" border="0" /></div>
			</div>
			<div id="bottom">
				<div class="team"><?php echo $team1->getName()?></div>
				<div class="info">VS.</div>
				<div class="team"><?php echo $team2->getName()?></div>
			</div>
		</div>
		<div id="score">
			<table cellspacing="2" cellpadding="2" border="0" width="100%" class="score">
				<tr>
					<th>&nbsp;</th>
					<th>1</th>
					<th>2</th>
					<th>3</th>
					<th>T</th>
				</tr>
				<tr>
					<td class="first"><?php echo $team1->getName(); ?></td>
					<td><?php echo $game->getScoreHomeFirst(); ?></td>
					<td><?php echo $game->getScoreHomeSecond(); ?></td>
					<td><?php echo $game->getScoreHomeThird(); ?></td>
					<td><?php echo $game->getScoreHomeFirst() + $game->getScoreHomeSecond() + $game->getScoreHomeThird() + $game->getScoreHomeOvertime() + $game->getScoreHomeShoutout(); ?></td>
				</tr>
				<tr>
					<td class="first"><?php echo $team2->getName(); ?></td>
					<td><?php echo $game->getScoreVisitorFirst(); ?></td>
					<td><?php echo $game->getScoreVisitorSecond(); ?></td>
					<td><?php echo $game->getScoreVisitorThird(); ?></td>
					<td><?php echo $game->getScoreVisitorFirst() + $game->getScoreVisitorSecond() + $game->getScoreVisitorThird() + $game->getScoreVisitorOvertime() + $game->getScoreVisitorShoutout(); ?></td>
				</tr>
			</table>
		</div>
	</div>
</div>
<div class="border full">&nbsp;</div>